package ar.edu.unq.tpi.uis.tepe3.wicket.pages;

import org.apache.wicket.PageParameters;
import ar.edu.unq.tpi.uis.tepe3.dominio.Group;
import ar.edu.unq.tpi.uis.tepe3.wicket.components.GroupForm;

/**
 * Homepage
 */
public class NewGroupPage extends LayoutPage {
	
	private GroupForm form;

	public NewGroupPage(Group group) {
		super();
		this.form = new GroupForm(group);
		this.add(this.form);
	}
	
	public NewGroupPage(final PageParameters parameters) {
		this(new Group());
	}
	

}
